package com.example.tms.mapper;

import com.example.tms.bean.RoleView;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 角色视图
 */
@Repository
public interface RoleVMapper extends JpaRepository<RoleView,String>, JpaSpecificationExecutor<RoleView> {

    List<RoleView> findByYhid(String yhid);

    List<RoleView> findByJsid(String jsid);

}
